package org.wk.common.jpush.vo;

import java.util.Map;

/**
 * @author df.wu
 * @version V1.0
 * @title: CustomMessage
 * @package com.athena.base.service.vo
 * @Date 11:39 2017/11/25
 * @description:
 */
public class CustomMessage {
    /**
     * 消息标题
     */
    private String title;
    /**
     * 消息内容
     */
    private String msg_content;
    /**
     * 内容类型
     */
    private String content_type;
    /**
     * 拓展字段
     */
    private Map<String, Object> extras;

    public CustomMessage(String msg_content) {
        this.msg_content = msg_content;
    }

    public CustomMessage(Map<String, Object> extras) {
        this.msg_content = "消息";
        this.extras = extras;
    }
    public CustomMessage(String msg_content, String content_type) {
        this.msg_content = msg_content;
        this.content_type = content_type;
    }
    public CustomMessage(String msg_content, Map<String, Object> extras) {
        this.msg_content = msg_content;
        this.extras = extras;
    }
    public CustomMessage(String msg_content, String content_type, Map<String, Object> extras) {
        this.msg_content = msg_content;
        this.content_type = content_type;
        this.extras = extras;
    }
    public CustomMessage(String title, String msg_content, String content_type, Map<String, Object> extras) {
        this.title = title;
        this.msg_content = msg_content;
        this.content_type = content_type;
        this.extras = extras;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getMsg_content() {
        return msg_content;
    }

    public void setMsg_content(String msg_content) {
        this.msg_content = msg_content;
    }

    public String getContent_type() {
        return content_type;
    }

    public void setContent_type(String content_type) {
        this.content_type = content_type;
    }

    public Map<String, Object> getExtras() {
        return extras;
    }

    public void setExtras(Map<String, Object> extras) {
        this.extras = extras;
    }
}
